package net.googlecode.morenko.task5.calculators;

import net.googlecode.morenko.task5.workers.Worker;

/**
 * Interface that must be realized by other calculator classes.
 */
public interface Calculator {
    /**
     * Calculates the salary in order what is persons post.
     * @param person
     * @return calculated salary.
     */
    public int calculateSalary(Worker person);
}
